const defaultState = {
	user: {}
};
const reducer = (state = defaultState, action) => {
	switch (action.type) {
		case 'SET-USER':
			return { ...state, user: action.user};
		default:
			return state;
	}
};

export default reducer;
